home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / Examples / CFDOCS / snippets / cfimpersonate.cfm < prev    next >
Encoding:
Text File  |  2001-06-13  |  737 b   |  25 lines

  1. <!---------------------------------------------------------- 
  2. This read-only example shows the use of CFIMPERSONATE to 
  3. impersonate a person with the user name Bill and the password 
  4. BJ4YE. Try substituting your own name and password.
  5. ----------------------------------------------------------->
  6. <HTML>
  7. <HEAD>
  8.     <TITLE>CFIMPERSONATE Example</TITLE>
  9. </HEAD>
  10.  
  11. <BASEFONT FACE="Arial, Helvetica" SIZE=2>
  12. <BODY  bgcolor="#FFFFD5">
  13.  
  14. <H3>CFIMPERSONATE Example</H3>
  15. <!---------------------------------------------------------- 
  16. <CFIMPERSONATE SECURITYCONTEXT="testContext"
  17. USERNAME="Bill" 
  18. PASSWORD="BJ4YE"
  19. TYPE= "CF">
  20. ...
  21. ...
  22. </CFIMPERSONATE>
  23. ------------------------------------------------------------->
  24. </BODY>
  25. </HTML>